package me.CSmethod.demo;

public class Text2 {
    public static void main(String[] args) {
        double area1=Area(1,2);
        double area2=Area(3,4);
        if(area1>area2){
            System.out.println("area1大于area2");
        }else{
            System.out.println("area1小于area2");
        }
    }
    public static double Area(double len,double wid){
        return len*wid;
    }
}
